<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jQuery特有的绑定函数</title>
</head>
<body>
	<input type="button" value="给div加点击事件" onclick="jia()" />
	<input type="button" value="给div取消点击事件" onclick="jie()" />
	<div style="width:200px;height:200px;background:gray;"></div>
</body>
<script type="text/javascript" src="jquery-3.1.1.js"></script>
<script type="text/javascript">
	function ding(){
		alert('叮');
	}
	function jia(){
		$('div').bind('click',function(){alert('123')});
		$('div').bind('click',ding);
	}
	function jie(){
		$('div').unbind('click',ding);
	}
</script>
</html>